/**      
 * @file		old_casting.cpp
 * @description		Demonstrates the old style of casting 
 *			from one data type to another
 * @course		CSCI 123 Section 00000
 * @assignment		Lecture 4 - Sample 4
 * @date		mm/dd/yyyy	
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
using namespace std;

/**
 * @return zero if the application executes successfully
 */
int main() {
	double result;
	int operand1 = 18;
	int operand2 = 4;

	result = (double)(operand1/operand2);
	cout << "(double)(operand1/operand2) " << result;
	cout << endl;

	result = (double)(operand1)/operand2;
	cout << "(double)(operand1)/operand2 " << result;
	cout << endl;
	return 0;
}
